from app.services.service_discovery import ServiceDiscovery
from app.services.load_balancer import LoadBalancer
from config.settings import settings

# 初始化服务发现和负载均衡器
service_discovery = ServiceDiscovery(settings.services)
load_balancer = LoadBalancer(service_discovery)